<?php
session_start(); 
$_SESSION['LogoutTime']= date("Y-m-d H:i:s");
session_destroy();

// para ver las horas de login/logout descomentar
//echo "Login= ".$_SESSION['LoginTime']." Logout= ".$_SESSION['LogoutTime']; exit;

header("location:../../index.php");
?>